import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store/index";
import http from "./http";
import Distpicker from 'v-distpicker';
import {Upload} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import {PullRefresh,Loading,Step,Steps ,Button,Uploader, Stepper ,Checkbox,Toast ,Dialog,AddressEdit , Area ,Cell,DatetimePicker,Popup ,RadioGroup, Radio,Field,Form,CellGroup,ActionSheet,Switch,Calendar,Rate,Divider} from 'vant';
import 'vant/lib/index.css';
import VueAwesomeSwiper from 'vue-awesome-swiper';
// import style
import 'swiper/css/swiper.css';
// import $ from "jquery";
// import "bootstrap";
Vue.config.productionTip = false;
Vue.use(Upload);
Vue.use(VueAwesomeSwiper, /* { default options with global component } */);

Vue.component('v-distpicker', Distpicker);
// import "bootstrap/dist/css/bootstrap.min.css";
// import "bootstrap/dist/js/bootstrap.min.js";


Vue.use(PullRefresh).use(Step).use(Steps).use(Loading).use(Button).use(Uploader).use(Stepper ).use(Checkbox).use(Toast).use(Dialog).use(AddressEdit).use(Area).use(Calendar).use(Cell).use(DatetimePicker).use(Popup).use(Radio).use(RadioGroup).use(Field).use(Form).use(CellGroup).use(ActionSheet).use(Switch).use(Rate).use(Divider);
Vue.prototype.$http = http;
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
